package com.coolwen.dao;

import com.coolwen.entity.Upload;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UploadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Upload record);

    int insertSelective(Upload record);

    Upload selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Upload record);

    int updateByPrimaryKey(Upload record);

    List<Upload> selectByMd5(@Param(value = "md5")String md5);
}